﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using GenericModels;

namespace WcfTicketsLibrary
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract(Namespace="annoh")]        //Namespace can be anything, ensures uniqueness
    public interface ICities
    {

        [OperationContract]
        void AddCityToDB(int postalCode, string cityName);

        [OperationContract]
        City RetrieveCity(int postalCode);

        [OperationContract]
        List<City> RetrieveAllTheCities();
    }

  
}
